﻿Public Class _Default
    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

    End Sub

    Protected Sub btn_add_Click(ByVal sender As Object, ByVal e As EventArgs) Handles btn_add.Click
        Dim f As Integer
        Dim s As Integer

        If IsNumeric(tb_fNumber.Text) And IsNumeric(tb_sNumber.Text) Then
            f = tb_fNumber.Text
            s = tb_sNumber.Text
            Label1.Text = s + f
        Else
            Label1.Text = "Enter Valid Number"

        End If


        Label1.Visible = True

    End Sub

    Protected Sub btn_clear_Click(ByVal sender As Object, ByVal e As EventArgs) Handles btn_clear.Click
        tb_fNumber.Text = ""
        tb_sNumber.Text = ""
        Label1.Visible = False
    End Sub

    Protected Sub tb_fNumber_TextChanged(ByVal sender As Object, ByVal e As EventArgs) Handles tb_fNumber.TextChanged
        
    End Sub
End Class